// headerfile containing the Player class
#ifndef __PLAYER__
#define __PLAYER__

class Player : public Num_element {
private:
    char* name;
    char* address;
public:
    Player(); // default constructor // should not be used
    Player(int uniqueid); // constructor sends 'uniqueid' to the correct constructor
    Player(ifstream* in, int uniqueid); // constructor, reads from file
    
    void writeToFile(ofstream* out); // write this player to file sent file-stream  
    void display(); // function for printing Player info to screen
    
    char* getName(); // returns pointer to name
    char* getAddress(); // returns pointer to address
    int getNumber(); // return number
};
#endif
